function makedirs(name)

unif = uniquefiles(name); % get the unique list corresponding to experimental dates
for i = 1:length(unif)
   e = exist(unif{i});
   if(e == 0) % only if nothing of the sort exists (especially directories)
      eval(['!mkdir ' unif{i}]); % make the directory that matches
   end;
   e = exist(unif{i});
   if(e == 7) % only move the data if the directory now exists
      c=sprintf('!move %s*.* %s\n', unif{i}, unif{i});
      eval(c); % move the data there
   end;
end;
   